// Paketinė OS, II variantas
// Edmundas Drūteika
// Vytautas Bačiulis

class VirtualMachine {
    long DS=128;
    long CS=0;
    long AX=0;
    long BX=0;
    long CC=0;
    long SF=0;

    LongObject[] VMMemory;

    VirtualMachine(LongObject[] memory) {
        this.VMMemory = memory;
    }

    void changeDS(long value) {
        this.DS = value;
    }

    void changeCS(long value) {
        this.CS = value;
    }

    void changeAX(long value) {
        this.AX = value;
    }

    void changeBX(long value) {
        this.BX = value;
    }

    void changeCC(long value) {
        this.CC = value;
    }

    void changeSF(long value) {
        this.SF = value;
    }

    long getDS() {
        return this.DS;
    }

    long getCS() {
        return this.CS;
    }

    long getAX() {
        return this.AX;
    }

    long getBX() {
        return this.BX;
    }

    long getCC() {
        return this.CC;
    }

    long getSF() {
        return this.SF;
    }

    LongObject[] getMemoryVM() {
        return this.VMMemory;
    }
}